package com.yunjian.core.busi.vo;

import com.yunjian.core.basic.model.SResource;
import com.yunjian.core.basic.model.SRole;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 *
 * @author tsh721@126.com
 */
public class EmployeeVo implements Serializable {

    private static final long serialVersionUID = 3042573824250512170L;

    //----------------------------------------
    /**
     * employee.user_id 员工ID
     *
     * @mbggenerated
     */
    private String userId;

    /**
     * employee.name 员工姓名
     *
     * @mbggenerated
     */
    private String name;

    /**
     * employee.idcard 身份证号
     *
     * @mbggenerated
     */
    private String idcard;

    /**
     * employee.sex 性别
     *
     * @mbggenerated
     */
    private String sex;

    private String address;

    private String nativePlace;

    /**
     * employee.birth 出生日期
     *
     * @mbggenerated
     */
    private Date birth;

    /**
     * employee.education 学历
     *
     * @mbggenerated
     */
    private String education;

    /**
     * employee.maritalStatus 婚姻状态
     *
     * @mbggenerated
     */
    private String maritalstatus;

    /**
     * employee.entry_time 入职时间
     *
     * @mbggenerated
     */
    private Date entryTime;

    /**
     * employee.store_id 所属门店ID
     *
     * @mbggenerated
     */
    private String storeId;

    /**
     * employee.post 职务
     *
     * @mbggenerated
     */
    private String post;

    /**
     * employee.status 员工状态
     *
     * @mbggenerated
     */
    private String employeeStatus;
    /**
     * employee.create_time
    注册时间
     *
     * @mbggenerated
     */
    private Date employeeCreateTime;
    //----------------------------------------
    /**
     * s_user.USER_TEL 用户手机号
     *
     * @mbggenerated
     */
    private String userTel;
    /**
     * s_user.USER_MAIL 用户邮箱
     *
     * @mbggenerated
     */
    private String userMail;
    /**
     * s_user.USER_ACCOUNT 用户自定义账号
     *
     * @mbggenerated
     */
    private String userAccount;
    /**
     * s_user.USER_PWD 用户密码
     *
     * @mbggenerated
     */
    private String userPwd;
    /**
     * s_user.STATUS 用户状态 0不可用1正常
     *
     * @mbggenerated
     */
    private Integer userStatus;
    /**
     * s_user.CREATE_TIME 注册时间
     *
     * @mbggenerated
     */
    private Date userCreateTime;
    /**
     * s_user.REGISTER_IP 注册IP
     *
     * @mbggenerated
     */
    private String registerIp;
    /**
     * s_user.LOGIN_TIMES 登录次数
     *
     * @mbggenerated
     */
    private Integer loginTimes;
    /**
     * s_user.LAST_LOGIN_IP 最后登录IP
     *
     * @mbggenerated
     */
    private String lastLoginIp;
    /**
     * s_user.LAST_LOGIN_TIME 最后登录时间
     *
     * @mbggenerated
     */
    private Date lastLoginTime;
    /**
     * s_user.IS_LOCKED 是否锁定（密码错误登录异常等情况使用）
     *
     * @mbggenerated
     */
    private Integer isLocked;
    /**
     * s_user.PWD_WRONG_TIMES 当前登录密码错误次数
     *
     * @mbggenerated
     */
    private Integer pwdWrongTimes;
    /**
     * s_user.NICK_NAME 昵称
     *
     * @mbggenerated
     */
    private String nickName;
    //----------------------------------------
    /**
     * store.city
    所在城市
     *
     * @mbggenerated
     */
    private String city;

    /**
     * store.name
    门店名称
     *
     * @mbggenerated
     */
    private String storeName;
    //----------------------------------------
    private List<SRole> roles;
    
    List<SResource> resources;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getNativePlace() {
        return nativePlace;
    }

    public void setNativePlace(String nativePlace) {
        this.nativePlace = nativePlace;
    }

    public Date getBirth() {
        return birth;
    }

    public void setBirth(Date birth) {
        this.birth = birth;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public String getMaritalstatus() {
        return maritalstatus;
    }

    public void setMaritalstatus(String maritalstatus) {
        this.maritalstatus = maritalstatus;
    }

    public Date getEntryTime() {
        return entryTime;
    }

    public void setEntryTime(Date entryTime) {
        this.entryTime = entryTime;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public String getPost() {
        return post;
    }

    public void setPost(String post) {
        this.post = post;
    }

    public String getEmployeeStatus() {
        return employeeStatus;
    }

    public void setEmployeeStatus(String employeeStatus) {
        this.employeeStatus = employeeStatus;
    }

    public Date getEmployeeCreateTime() {
        return employeeCreateTime;
    }

    public void setEmployeeCreateTime(Date employeeCreateTime) {
        this.employeeCreateTime = employeeCreateTime;
    }

    public String getUserTel() {
        return userTel;
    }

    public void setUserTel(String userTel) {
        this.userTel = userTel;
    }

    public String getUserMail() {
        return userMail;
    }

    public void setUserMail(String userMail) {
        this.userMail = userMail;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public Integer getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(Integer userStatus) {
        this.userStatus = userStatus;
    }

    public Date getUserCreateTime() {
        return userCreateTime;
    }

    public void setUserCreateTime(Date userCreateTime) {
        this.userCreateTime = userCreateTime;
    }

    public String getRegisterIp() {
        return registerIp;
    }

    public void setRegisterIp(String registerIp) {
        this.registerIp = registerIp;
    }

    public Integer getLoginTimes() {
        return loginTimes;
    }

    public void setLoginTimes(Integer loginTimes) {
        this.loginTimes = loginTimes;
    }

    public String getLastLoginIp() {
        return lastLoginIp;
    }

    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public Integer getIsLocked() {
        return isLocked;
    }

    public void setIsLocked(Integer isLocked) {
        this.isLocked = isLocked;
    }

    public Integer getPwdWrongTimes() {
        return pwdWrongTimes;
    }

    public void setPwdWrongTimes(Integer pwdWrongTimes) {
        this.pwdWrongTimes = pwdWrongTimes;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public List<SRole> getRoles() {
        return roles;
    }

    public void setRoles(List<SRole> roles) {
        this.roles = roles;
    }

    public List<SResource> getResources() {
        return resources;
    }

    public void setResources(List<SResource> resources) {
        this.resources = resources;
    }

}
